﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="add_position.aspx.cs" Inherits="Setting_add_position" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>添加职位</title>
    <link href="../Styles/Site.css" rel="stylesheet" type="text/css" />
    <script src="../Scripts/jquery-1.5.1.min.js" type="text/javascript"></script>
	 <script type="text/javascript">

    	function VerifyForm() {
    		if ($("#positionName").val() == "") {
    			alert('名称不能为空!');
    			return false;
    		}
    		return true;
    	}
    	function doSave() {
    		if (VerifyForm()) {				
    			form1.submit();
    		}
    	}
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="editFormTitle">添加职位</div>
	<div >
	 <table id="EmplInfo" border="0" cellpadding="3">
		<tr><td nowrap width="40">名称</td><td><input type="text" id="positionName" name="positionName" style="width:200px;" value="<%=curPosition.Name %>" /></td></tr>		
	 </table>
	 </div>
	 <div class="editFormBottom"><input type="button" value="  保存  " onclick="doSave()" />&nbsp;<input type="button" value=" 取消 " onclick="self.close()" /> <span id="tipSpan"><%=tip %></span></div>
    </form>
</body>
</html>
